package com.haixinga.commbiz.commons.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.haixinga.commbiz.commons.entity.SysRoleEntRela;
import com.haixinga.commbiz.commons.mapper.SysRoleEntRelaMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 系统角色权限关联表 服务实现类
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2020-06-13
 */
@Service
public class SysRoleEntRelaService extends ServiceImpl<SysRoleEntRelaMapper, SysRoleEntRela> {

    /** 根据人查询出所有权限ID集合  */
    public List<String> selectEntIdsByUserId(Integer userId){
        return baseMapper.selectEntIdsByUserId(userId);
    }




}
